import { AxiosRequestConfig } from 'axios'
import serverApiUtils from '@/core/utils/serverApiUtils'
import lodash from 'lodash'
import { R } from '@/components/axios/interface'
import http from '@/components/axios/http'
import PageResponse from '@/core/framework/types/model/response/PageResponse'
import BaseAdminServerApi from '@/core/framework/serverapi/BaseAdminServerApi'
import IamAccountPassportResponse from '@/core/account/generated/types/model/response/IamAccountPassportResponse'
import accountAdminApiConfig from '@/core/account/generated/apiconfig/accountAdminApiConfig'

const moduleApiConfig = accountAdminApiConfig.iamAccountPassport

class IamAccountPassportAdminServerApi extends BaseAdminServerApi<string, IamAccountPassportResponse> {}

const adminServerApi = new IamAccountPassportAdminServerApi({ adminApiConfig: moduleApiConfig })

export default adminServerApi
